package com.zhijiaoyun.dao;

import java.util.List;

import com.zhijiaoyun.dao.core.IBaseDao;
import org.apache.ibatis.annotations.Param;

import com.zhijiaoyun.model.Teacher;

/**
 * @author shisfish
 * @date 2017/6/6
 */
public interface ITeacherDao extends IBaseDao<Teacher> {

	int countByParams(@Param("name") String name);

	List<Teacher> pageByParams(@Param("beginIndex") int beginIndex, @Param("pageSize") int pageSize,
			@Param("name") String name);

	List<Teacher> selectByNameF(@Param("pageSize") int pageSize, @Param("name") String name);

	String selectNameByTeacherId(Long teacherId);

    List<Teacher> listByIds(@Param("teacherIds") List<String> teacherIds);
}